isHttpOnly

public boolean isHttpOnly()

Returns true if the cookie is considered HTTP only. It means that the cookie contains the HttpOnly attribute and should not be accessible from JavaScript.